package com.lk.modules.yw.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lk.modules.yw.dao.TestDao;

@Service
@Transactional(readOnly = false,rollbackFor = Exception.class)
public class TestService {
	
	@Autowired
	private TestDao dao;
	
	@Transactional(readOnly=false,rollbackFor=Exception.class)
	public String getName() {
		return dao.getName();
	}

}
